- 1400/09/15
- 0
- 114
ارور در Migration
سلاک ببخشید من به یک ارور وقتی که Migration میزنم برخوردم لطفا راهنمایی کنید
The relationship from 'User.UserBaseInfo' to 'UserBaseInfo.User' with foreign key properties {'UserId' : Guid} cannot target the primary key {'UserBaseInfoId' : int} because it is not compatible. Configure a principal key or a set of compatible foreign key properties for this relationship.
- 1400/09/17
ایدی رو بجای int باید guid قرار بدید چون یک طرف relation به این شکله
پاسخی برای این باگ ارسال کنید
لطفا کدها را درون قطعه کد ارسال نمایید
برای ارسال پاسخ باید وارد حساب کاربری خود شوید
ورود به حساب کاربری